package com.fmsz.xmly.callbacks;



import com.fmsz.xmly.entitys.classify.FindClassifyEntity;
import com.fmsz.xmly.entitys.classify.FindClassifyImageEntity;
import com.fmsz.xmly.entitys.classify.tag.AllTagEntity;
import com.fmsz.xmly.entitys.classify.tag.ClassifyTagEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/12/3.
 */

public interface FindClassifyHttpService {

    @GET("mobile/discovery/v1/categories?channel=and-a1&device=android&scale=1")
    Call<FindClassifyEntity> getDatas(@Query("picVersion") int picVersion);

    //分类图片下载地址
    @GET("ting?device=android&name=cata_index_banner&network=wifi&operator=0")
    Call<FindClassifyImageEntity> getImageUrl(@Query("version") String version);

    //分类二级推荐页面
    @GET("mobile/discovery/v2/category/recommends?contentType=album&device=android&version=5.4.3")
    Call<ClassifyTagEntity> getClassifyTagData(@Query("categoryId") String categoryId);

    //分类二级tag页面
    @GET("mobile/discovery/v1/category/album?calcDimension=hot&device=android&pageId=1&pageSize=20&status=0")
    Call<AllTagEntity> getAllTagData(@Query("categoryId") String categoryId,@Query("tagName")String tagName);
}
